Skip to content

fix(ci): support python 3.15 builds by exporting pyo3 compatibility flag - #17778

Merged
hebaalazzeh merged 1 commit into
mainfrom
fix/import-profiler-pyo3-compat
Jul 20, 2026
Merged

fix(ci): support python 3.15 builds by exporting pyo3 compatibility flag#17778
hebaalazzeh merged 1 commit into
mainfrom
fix/import-profiler-pyo3-compat

Conversation

@hebaalazzeh

Copy link
Copy Markdown
Contributor

This PR fixes a GHA build issue when compiling Rust-based transitive dependencies (like libcst during bigframes installation) under Python 3.15 (3.15.0-beta.3).

Key Changes

  • PyO3 Forward Compatibility: Added export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 inside the temporary virtualenv activation block in ci/run_single_test.sh. This ensures packages compiling with PyO3 use the stable ABI forward compatibility mode for Python 3.15.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the ci/run_single_test.sh script to export the PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 environment variable when setting up a temporary virtual environment for import profiling. There are no review comments, and I have no feedback to provide.

@hebaalazzeh
hebaalazzeh marked this pull request as ready for review July 20, 2026 17:56
@hebaalazzeh
hebaalazzeh requested a review from a team as a code owner July 20, 2026 17:56
@hebaalazzeh
hebaalazzeh merged commit 8b6760e into main Jul 20, 2026
38 checks passed
@hebaalazzeh
hebaalazzeh deleted the fix/import-profiler-pyo3-compat branch July 20, 2026 17:56
@hebaalazzeh hebaalazzeh self-assigned this Jul 20, 2026
hebaalazzeh added a commit that referenced this pull request Jul 20, 2026
…lag (#17778)

This PR fixes a GHA build issue when compiling Rust-based transitive
dependencies (like `libcst` during `bigframes` installation) under
Python 3.15 (`3.15.0-beta.3`).

### Key Changes
- **PyO3 Forward Compatibility**: Added `export
PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1` inside the temporary virtualenv
activation block in `ci/run_single_test.sh`. This ensures packages
compiling with PyO3 use the stable ABI forward compatibility mode for
Python 3.15.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants